<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>京东</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      text-decoration: none;
      font-family: sans-serif;
      background-color: #f5f5f5;
    }
   .search {
      display: flex;
      width: 300px;
      height: 40px;
      border: 1px solid #ccc;
      border-radius: 5px;
      overflow: hidden;
    }
    input {
      flex: 1;
      border: none;
      padding: 0 10px;
      font - size: 14px;
    }
    button {
      background-color: red;
      color: white;
      border: none;
      padding: 0 20px;
      font - size: 14px;
      cursor: pointer;
    }
  </style>
</head>

<body>
  <div class="search">
    <input type="text" placeholder="搜索 京东商品">
    <button>搜索</button>
  </div>
</body>

</html>